package by.grsu.crs.dao;

import java.sql.SQLException;
import java.util.List;

import by.grsu.crs.model.Car;
import by.grsu.crs.model.ICar;

public interface CarDao {

	public boolean addCar(ICar car) throws SQLException;

	public List<Car> getAllCars() throws SQLException;

	public ICar getCarById(int id) throws SQLException;

	public boolean deleteCarByID(int id) throws SQLException;

	public boolean updateCarById(int id, ICar car) throws SQLException;

}